home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / pc / what's new / development kits / mac os / nsl 1.1 sdk / headers / nslpluginmodule.h < prev   
Encoding:
C/C++ Source or Header  |  1999-10-12  |  2.0 KB  |  92 lines

  1. /*
  2.      File:        NSLPluginModule.h
  3.  
  4.      Contains:    Interface to API for using the NSL Manager
  5.  
  6.      Version:    Mac OS 8.5
  7.  
  8.      DRI:        Kevin Arnold
  9.  
  10.      Copyright:    © 1985-1999 by Apple Computer, Inc., all rights reserved
  11.  
  12.      Warning:    *** APPLE INTERNAL USE ONLY ***
  13.                  This file may contain unreleased API's
  14.  
  15.      BuildInfo:    Built by:            Steve Simon
  16.                  On:                    6/14/99 10:29 AM
  17.                  With Interfacer:    3.0d13   (MPW PowerPC)
  18.                  From:                NSLPluginModule.i
  19.                      Revision:        03
  20.                      Dated:            06/14/99
  21.                      Last change by:    sns
  22.                      Last comment:    remove kNSLPluginNotKilled
  23.  
  24.      Bugs:        Report bugs to Radar component "System Interfaces", "Latest"
  25.                  List the version information (from above) in the Problem Description.
  26.  
  27. */
  28. #ifndef __NSLPLUGINMODULE__
  29. #define __NSLPLUGINMODULE__
  30.  
  31. #ifndef __NSL__
  32. #include <NSL.h>
  33. #endif
  34.  
  35.  
  36.  
  37. #if PRAGMA_ONCE
  38. #pragma once
  39. #endif
  40.  
  41. #ifdef __cplusplus
  42. extern "C" {
  43. #endif
  44.  
  45. #if PRAGMA_IMPORT
  46. #pragma import on
  47. #endif
  48.  
  49. #if PRAGMA_STRUCT_ALIGN
  50.     #pragma options align=mac68k
  51. #elif PRAGMA_STRUCT_PACKPUSH
  52.     #pragma pack(push, 2)
  53. #elif PRAGMA_STRUCT_PACK
  54.     #pragma pack(2)
  55. #endif
  56.  
  57.  
  58. OSStatus InitPlugin( void );
  59. OSStatus KillPlugin( Boolean forceQuit );    
  60. OSStatus Register( NSLTypedDataPtr dataPtr );
  61. OSStatus Deregister( NSLTypedDataPtr dataPtr );
  62. OSStatus StartNeighborhoodLookup( NSLNeighborhood neighborhood, NSLMgrNotifyUPP notifier, NSLPluginAsyncInfoPtr pluginInfo );
  63. OSStatus StartServicesLookup( NSLNeighborhood neighborhood, NSLTypedDataPtr dataPtr, NSLMgrNotifyUPP notifier, NSLPluginAsyncInfoPtr pluginInfo );
  64. OSStatus ContinueLookup( NSLMgrNotifyUPP notifier, NSLPluginAsyncInfoPtr pluginInfo );
  65. OSStatus CancelLookup( NSLPluginAsyncInfoPtr pluginInfo );
  66. OSStatus ErrNumToString( OSStatus theErr, char* errorString, char* solutionString  );
  67.  
  68.  
  69.  
  70.  
  71.  
  72. #if PRAGMA_STRUCT_ALIGN
  73.     #pragma options align=reset
  74. #elif PRAGMA_STRUCT_PACKPUSH
  75.     #pragma pack(pop)
  76. #elif PRAGMA_STRUCT_PACK
  77.     #pragma pack()
  78. #endif
  79.  
  80. #ifdef PRAGMA_IMPORT_OFF
  81. #pragma import off
  82. #elif PRAGMA_IMPORT
  83. #pragma import reset
  84. #endif
  85.  
  86. #ifdef __cplusplus
  87. }
  88. #endif
  89.  
  90. #endif /* __NSLPLUGINMODULE__ */
  91.  
  92.